import { createApp } from 'vue'
import 'normalize.css'  //样式标准化库
import './style.css'
import App from './App.vue' //根组件
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from './router/index.js'

const app = createApp(App)

//注入路由
app.use(router)

//注册图标组件
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.mount('#app')


